package Twice.day07.singleton;

/**
 * @Author: lya
 * @Description: 本类的作用描述:懒汉模式测试
 * @CreateDate: 2019/8/31
 * @Version: 1.0
 */
public class TestLazyMyDataSource {
    public static void main(String[] args) {
        LazyMyDataSource L1 = LazyMyDataSource.getInstance();
        LazyMyDataSource L2 = LazyMyDataSource.getInstance();

        System.out.println("L1 = " + L1);
        System.out.println("L2 = " + L2);

    }
}
